package cn.exrick.xboot.base.vo

import cn.exrick.xboot.core.common.constant.CommonConstant
import com.fasterxml.jackson.annotation.JsonFormat
import io.swagger.annotations.ApiModel
import io.swagger.annotations.ApiModelProperty
import lombok.Data
import lombok.experimental.Accessors
import org.springframework.format.annotation.DateTimeFormat
import java.util.*

@ApiModel("监管部门查看公司审核列表实体")
data class EnterpriseUserCheckListVo (

        @ApiModelProperty("id")
        var id: String? = null,

        @ApiModelProperty("企业头像")
        var companyAvatar: String? = "",

        @ApiModelProperty("企业名称")
        var companyName: String? = "",

        @ApiModelProperty("申请时间")
        @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
        @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
        var applyTime: Date? = null,

        @ApiModelProperty("审核状态")
        var checkStatus: Int? = CommonConstant.PRE_CHECK,

        @ApiModelProperty("审核时间")
        @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
        @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
        var checkTime: Date? = null

)